package com.hongdee.base.msg.entity;

/**
 * Created by My on 2017-02-13.
 */

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 名  称: TBcMsg
 * 类  型: class
 * 描  述: 短信模板实体类
 * 路  径: com.hongdee.base.msg.entity
 * 作  者: 术洪超
 * 日  期: 2017/2/13 10:00
 */

@Entity
@Table(name = "T_BC_MSG")
public class TBcMsg extends BaseEntity {

    //短信编码
    @Column(name = "msg_type_code", length = 32, columnDefinition = "VARCHAR(32) COMMENT '短信编码'")
    private String msgTypeCode;

    //短信名称
    @Column(name = "msg_name", length = 64, columnDefinition = "VARCHAR(64) COMMENT '短信名称'")
    private String msgName;

    //短信类型名称
    @Column(name = "msg_type_name", length = 64, columnDefinition = "VARCHAR(64) COMMENT '短信类型名称'")
    private String msgTypeName;

    //短信内容
    @Column(name = "msg_cont", length = 512, columnDefinition = "VARCHAR(512) COMMENT '短信内容'")
    private String msgCont;

    //应用公司ID
    @Column(name = "company_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '公司ID'")
    private String companyId;


    //短信模板状态
    @Column(name = "status", length = 1, columnDefinition = "VARCHAR(1) COMMENT '短信模板状态'")
    private String status;

    public String getMsgTypeCode() {
        return msgTypeCode;
    }

    public void setMsgTypeCode(String msgTypeCode) {
        this.msgTypeCode = msgTypeCode;
    }

    public String getMsgName() {
        return msgName;
    }

    public void setMsgName(String msgName) {
        this.msgName = msgName;
    }

    public String getMsgTypeName() {
        return msgTypeName;
    }

    public void setMsgTypeName(String msgTypeName) {
        this.msgTypeName = msgTypeName;
    }

    public String getMsgCont() {
        return msgCont;
    }

    public void setMsgCont(String msgCont) {
        this.msgCont = msgCont;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
